Skip to content

Render curved and multi-segment scene grid axes - #75

Merged
mahach666 merged 1 commit into
mainfrom
codex/grid-paths
Nov 19, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/grid-paths

Conversation

@mahach666

@mahach666 mahach666 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Refs IOExtend/RvtIO#261. Uses the additive grid-path contract from IOExtend/IOScene#14.

IOViewer draws consecutive grid path points and anchors the label at the first and last point. The HTML metadata keeps the existing straight-axis representation. Federated model placement transforms all path points, and the camera depth range covers intermediate vertices.

Revit and IOViewer verification

Created two synthetic RVTs in Revit 2027 and compared the exported paths with Grid.Curve and MultiSegmentGrid.GetGridIds(). The second fixture placed the chain sketch 5 ft above the model plane. The exported axis still matched the Revit curve at model Z=0.

Axis Curve Scene points Maximum chord error
ARC 90° circular arc 32 0.978 mm
MAJOR 270° circular arc 73 0.979 mm
MIXED Line, arc, line 34 0.978 mm

Chromium rendered four axes, including the straight control, as 137 line segments with eight endpoint labels. The 15 straight grid axes in the structural regression model matched the baseline. The synthetic model's IFC export with a fixed timestamp was byte-identical to main.

The direct RVT integration check used the local RvtIO producer for #261. The CLI package reference to RvtIO.Scene will pick up the RVT producer after its release and dependency update. The viewer also consumes paths from IOScene JSON.

Curved and multi-segment grid axes in IOViewer

Companion RVT producer: IOExtend/RvtIO#265.

Local .NET tests passed on .NET 8 and .NET 10. The JavaScript unit tests and Chromium run passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant